package cn.snmp.mutual.nms.mibs;

import java.io.*;
import java.util.*;

public class MibTC extends LeafSyntax implements Serializable, Cloneable
{
    MibTC(final Hashtable proteties) {
        super(proteties);
        this.m_propreties = proteties;
    }
    
    @Override
    public Object clone() throws CloneNotSupportedException {
        final Hashtable htPropreties = (Hashtable)this.m_propreties.clone();
        return new MibTC(htPropreties);
    }
    
    public String getDisplayHint() {
        final Object object = this.m_propreties.get("TCDisplayHint");
        if (object == null) {
            return null;
        }
        return object.toString();
    }
    
    @Override
    public String getName() {
        final Object object = this.m_propreties.get("TCName");
        if (object == null) {
            return null;
        }
        return object.toString();
    }
    
    public String getReference() {
        final Object object = this.m_propreties.get("TCReference");
        if (object == null) {
            return null;
        }
        return object.toString();
    }
    
    public String getStatus() {
        final Object object = this.m_propreties.get("TCStatus");
        if (object == null) {
            return null;
        }
        return object.toString();
    }
    
    public LeafSyntax getSyntax() {
        return this;
    }
    
    public String getTCDescription() {
        final Object object = this.m_propreties.get("TCDescription");
        if (object == null) {
            return null;
        }
        return object.toString();
    }
    
    @Override
    public String toString() {
        return super.getName();
    }
}
